package com.mall.user.dal.entitys;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "tb_user_verify")
@Data
@ToString
public class UserVerify {
    @Id
    private Long id;

    private Long uid;

    //注册时生成的唯一号
    @Column(name = "verify_code")
    private String verifyCode;

    //是否验证过期
    @Column(name = "is_del")
    private Integer isDeleted;
}